<template>
  <div class="common-layout">
    <el-container>
      <el-header><Head/></el-header>
      <list/>
      <router-view></router-view>
      <el-footer>Footer</el-footer>
    </el-container>
  </div>
</template>

<script>
import Head from '../components/Header.vue'
import list from '../components/body/itemList/list.vue'
export default {
  name: 'Home',
  components: {
    Head,
    list
  }
}
</script>
<style>

.common-layout{
  width: 100%;
  height: auto;
  margin: 0;
  /* background-color: rgb(153, 165, 42); */
}
.el-header{
  background-color: white;
  width: 100%;
  height: 150px !important;
}
/* .el-aside{
  width: 20%;
  height: 600px;
  background-color: aqua;
}
.el-main{
  width: 60%;
  height: 1800px;
  background-color: rgb(239, 243, 243);  
} */

.el-footer{
  width: 100%;
  height: 200px;
  background-color: rgb(31, 196, 31);   
}
.el-container{
  width: 100%;
  height: auto;
}
</style>